﻿<Window x:Class="EditAssignment"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="340" Width="360" ResizeMode="NoResize" WindowStyle="SingleBorderWindow">
    <DockPanel>
        <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" Height="32" HorizontalAlignment="Center">
            <Button Width="80" Margin="0,0,4,4" Click="OK_Click">OK</Button>
            <Button Width="80" Margin="4,0,0,4" Click="Cancel_Click">Cancel</Button>
        </StackPanel>
        <StackPanel Orientation="Vertical" HorizontalAlignment="Center" Margin="6">
            <StackPanel Orientation="Horizontal">
                <StackPanel Orientation="Vertical" Margin="0,4,4,0">
                    <Label Content="Assignment Name" />
                    <TextBox Name="assignmentName"  Width="140" Height="24"/>
                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="4,4,0,0">
                    <Label Content="Course" />
                    <ComboBox Name="assignmentCourse" Width="140" Height="24"/>
                </StackPanel>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <StackPanel Orientation="Vertical" Margin="0,4,4,0">
                    <Label Content="Priority" />
                    <ComboBox Name="assignmentPriority" Width="140" Height="24">
                        <ComboBoxItem Content="Low" />
                        <ComboBoxItem Content="Medium" />
                        <ComboBoxItem Content="High" />
                    </ComboBox>
                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="4,4,0,0">
                    <Label Content="Due date" />
                    <DatePicker Name="assignmentEndDate" Width="140" Height="24"/>
                </StackPanel>
            </StackPanel>
            <Label Content="Notes" />
            <TextBox Name="assignmentNotes" AcceptsTab="True" AcceptsReturn="True" Height="124" />
        </StackPanel>
    </DockPanel>
</Window>
